<html><head><title>IsSprite</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">IsSprite()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>IsSprite</b></font>(#Sprite)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Tests if the given #Sprite number is a valid and correctly initialized, sprite. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sprite</i></td>
<td width="90%"> 
The sprite to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Nonzero if #Sprite is a valid sprite and zero otherwise. 

</blockquote><p><b>Remarks</b></p><blockquote>

This function is bulletproof and can be used with any value. If the 'Result' is not zero then the object is valid and 
initialized, otherwise it will equal zero. This is the correct way to ensure a sprite is ready to use. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="createsprite.html">CreateSprite()</a>, <a href="loadsprite.html">LoadSprite()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=initsprite.html>InitSprite()</a> - <a href=index.html>Sprite Index</a> - <a href=loadsprite.html>LoadSprite()</a> ->

</body></html>